package Behaviors.Schemas.Motor;
import Behaviors.Schemas.Behavior;
import Utils.Vector2d;
public class NxMSNoise extends Behavior {
    
    public NxMSNoise(String name) {
        super(name);
    }

    public Vector2d Value() {
        
        float mag = (float)Math.abs(Math.random());
        float angle =(float)(Math.random()*2*Math.PI);

        if(enabled)
            return new Vector2d(mag,angle,Vector2d.MODE_MA);
        else
            return new Vector2d();
    }
}
